package net.luculent.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;

import net.luculent.spring.config.HttpclientSpringConfig;

/**
 * 首页service
 * @author lencese
 *
 */
@Service
public class IndexService {
	
	@Autowired
	private HttpclientSpringConfig httpClientConfig;
	
	public JSONObject getHotKey(){
		
		JSONObject jsonParam = new JSONObject();
		
		String url = "http://122.112.207.211:8080/Liems/web/mobile/search/getSearchList.htm?keyword=Expert";
		
		//jsonParam.put("keyword", "Expert");
		
		return httpClientConfig.httpPost(url, jsonParam, false);
		
	}
	
}
